//
//  PrefixHeader.h
//  jiaguoshang
//
//  Created by Apple on 10/20/18.
//  Copyright © 2018 jiaguoshang. All rights reserved.
//

#ifndef PrefixHeader_h
#define PrefixHeader_h

#define LBXScan_Define_Native  //下载了native模块
#define LBXScan_Define_ZXing   //下载了ZXing模块
#define LBXScan_Define_ZBar   //下载了ZBar模块
#define LBXScan_Define_UI     //下载了界面模块

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

//异步日志处理和测试环境，现网环境切换宏
#ifndef TEST_XCODE_COLORS
//当发布正式服务器时需要置为0，就能关闭日志系统
#define TEST_XCODE_COLORS 1
#else
#endif

#if TEST_XCODE_COLORS
#import <BITCocoaLumberjack/CocoaLumberjack.h>
#import <BITCocoaLumberjack/CocoaLumberjackMacro.h>
static const int ddLogLevel = DDLogLevelVerbose;
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#import <BITCocoaLumberjack/CocoaLumberjackNoLogsMacro.h>
#define NSLog(...)
#endif

#endif /* PrefixHeader_h */
